package com.zhijian.medical.entity.vo.request;

import com.zhijian.medical.entity.dto.SangerSjpzqPcrDto;
import com.zhijian.medical.entity.po.NgsHszbq;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.List;

/**
 * @author HCG
 * @version 1.0
 * @date 2022/8/23
 */
@Data
@Api(tags = "二代测序-核酸制备区 新增or修改类")
@NoArgsConstructor
@AllArgsConstructor
public class NgsHszbqSaveOrUpdateVo extends NgsHszbq implements Serializable {

    private static final long serialVersionUID = -7542616394741119179L;

    /**
     * 片段化反应样本数据列表
     */
    @ApiModelProperty("片段化反应样本数据列表")
    private List<SangerSjpzqPcrDto> pdhfyybDataList;

    /**
     * 样本准备数据
     */
    @ApiModelProperty("样本准备数据")
    @Valid
    @NotNull(message = "样本准备数据不能为空")
    @Size(min = 1, message = "样本准备数据至少为一条")
    private List<ExperimentProcessSampleUpdateVo> ngsReadyList;

}
